package com.xcf.service.business.finance.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xcf.dao.DaoSupport;
import com.xcf.service.business.finance.IntoTicketService;
import com.xcf.util.PageData;
@Service
public class IntoTicketServiceImpl implements IntoTicketService{
@Resource
private DaoSupport dao;
	@Override
	public List<Map> findIntoTicketInfo(PageData pd) throws Exception {
		
		return (List<Map>) dao.findForList("intoTicket.findIntoTicket", pd);
	}
	@Override
	public List<Map> findInvoiceInfo(PageData pd) throws Exception {
		// TODO Auto-generated method stub
		return (List<Map>) dao.findForList("intoTicket.findInvoiceInfo", pd);
	}
	@Override
	public List<Map> findInvoiceItem(PageData pd) throws Exception {
		// TODO Auto-generated method stub
		return (List<Map>) dao.findForList("intoTicket.findInvoiceItem", pd);
	}
	@Override
	public List<Map> findFeeProject(PageData pd) throws Exception {
		// TODO Auto-generated method stub
		return (List<Map>) dao.findForList("intoTicket.findFeeProject", pd);
	}
	@Override
	public void updateInvoice(PageData pd) throws Exception {
		dao.update("intoTicket.updateInvoice", pd);
		
	}

}
